package com.xialinrui.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @author xialinrui
 */
@Data
public class YearlyMoneyDto {
    private String year;
    @JsonSerialize(using = ToStringSerializer.class)
    private Double income;
    @JsonSerialize(using = ToStringSerializer.class)
    private Double expenditure;
}
